.format-preview-dialog {
  .el-dialog__body {
    .content {
      padding: 0 100px;
      min-height: 300px;
      display: flex;
      .left-content {
        & > img {
          width: 200px;
        }
      }
      .right-content {
        padding-left: 100px;
        padding-top: 30px;
        .school-name {
          font-size: 30px;
        }
        .subtitle {
          padding-top: 20px;
          font-size: 18px;
        }
        .format-set {
          display: inline-block;
          padding: 10px 20px;
          background-color: #8a8cbd;
          color: #fff;
          border-radius: 5px;
          cursor: pointer;
          margin-top: 30px;
        }
      }
    }
  }
}
.add-tpl-dialog {
  padding: 0;
  width: 427px;
  border-radius: 20px;
  .el-dialog__header {
    .title {
      text-align: center;
      height: 72px;
      background: #197BFF;
      border-radius: 10px 10px 0 0;
      font-family: "Microsoft YaHei", serif;
      font-weight: 400;
      font-size: 20px;
      color: #FFFFFF;
      line-height: 72px;
    }
  }
  .el-dialog__body {
    .content {
      padding-bottom: 30px;
      .label {
        font-family: "Microsoft YaHei", serif;
        font-weight: 400;
        font-size: 16px;
        color: #197BFF;
        padding-right: 10px;
        width: 100px;
        text-align: right;
      }
      .mode-type-select {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        .type-select {
          width: 267px;
          height: 35px;
          background: #FFFFFF;
          border-radius: 18px;
          border: 1px solid #197BFF;
          .el-select__wrapper {
            width: 100%;
            height: 35px;
            min-height: 0;
            border-radius: 18px;
            box-shadow: none;
          }
        }
      }
      .name-box {
        margin-top: 20px;
        padding-left: 30px;
        .name-label {
          width: 150px;
        }
        .name-input {
          width: 340px;
          height: 35px;
          background: #FFFFFF;
          border-radius: 18px;
          border: 1px solid #197BFF;
          margin-top: 10px;
          .el-input__wrapper {
            width: 100%;
            border-radius: 18px;
            box-shadow: none;
          }
        }
      }
      .upload-file-box {
        .el-upload {
          width: 121px;
          height: 35px;
          background: #197BFF;
          border-radius: 18px;
          color: #FFFFFF;
          font-family: "Microsoft YaHei", serif;
          font-weight: 400;
          font-size: 16px;
          line-height: 35px;
          text-align: center;
          margin-top: 80px;
          margin-left: 143px;
        }

      }
      .file-name-box {
        display: flex;
        padding: 0 35px;
        align-items: center;
        margin-top: 15px;
        .file-name {
          width: 300px;
          font-family: "Microsoft YaHei", serif;
          font-weight: 400;
          font-size: 16px;
          color: #197BFF;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
        }
        & > img {
          width: 17px;
        }
      }
      .sure-btn {
        width: 121px;
        height: 35px;
        background: #197BFF;
        border-radius: 18px;
        font-family: "Microsoft YaHei", serif;
        font-weight: 400;
        font-size: 16px;
        color: #FFFFFF;
        line-height: 35px;
        text-align: center;
        margin: 75px auto 0;
        cursor: pointer;
      }
    }
  }
}
.font-set-dialog {
  .add-btn-box {
    margin-top: 20px;
    text-align: center;
  }
}
.set-head-img-dialog {
  width: 407px;
  .content {
    display: flex;
    padding: 0 10px;
    .left-content {
      width: 276px;
      .img-box {
        position: relative;
        height: 276px;
        .background-img {
          width: 276px;
          position: absolute;
          top: 0;
        }
        .upload-img {
          position: absolute;
          z-index: 2;
          top: 70px;
          left: 60px;
          width: 166px;
        }
      }
      .hint-box {
        font-family: "Microsoft YaHei", serif;
        font-weight: normal;
        font-size: 10px;
        color: #197BFF;
        width: 250px;
        margin-left: 30px;
      }
    }
    .right-content {
      margin-left: 10px;
      .preview-box {
        width: 93px;
        height: 93px;
        background: #F6F6F6;
        border: 1px solid #197BFF;
        margin-top: 20px;
        .preview-img {
          width: 100%;
          height: 100%;
        }
      }
      .hint-box {
        font-family: "Microsoft YaHei", serif;
        font-weight: normal;
        font-size: 9px;
        color: #197BFF;
        text-align: center;
        margin-top: 10px;
      }
      .img-upload {
        margin-top: 120px;
        margin-left: 5px;
        width: 87px;
        height: 25px;
        background: #197BFF;
        border-radius: 13px;
        text-align: center;
        line-height: 25px;
        font-family: "Microsoft YaHei", serif;
        font-weight: normal;
        font-size: 12px;
        color: #FFFFFF;
      }
    }
  }
  .footer-box {
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    .btn {
      width: 87px;
      height: 25px;
      background: #FFFFFF;
      border-radius: 13px;
      border: 1px solid #197BFF;
      line-height: 25px;
      font-family: "Microsoft YaHei", serif;
      font-weight: normal;
      font-size: 12px;
      color: #197BFF;
      text-align: center;
      margin-left: 10px;
      cursor: pointer;
    }
    .sure-btn {
      background: #197BFF;
      color: #fff;
    }
  }
}
